//
//  TreeNodeProperty.h
//  BinaryTree
//
//  Created by DeLong Yang on 2017/7/28.
//  Copyright © 2017年 DeLong Yang. All rights reserved.
/*
    main fuction is get depth and width within one recusion  
 */


#import <Foundation/Foundation.h>

@interface TreeNodeProperty : NSObject


/**
 返回某个 tree 的深度
 */
@property (nonatomic,assign)NSInteger depth;


/**
 返回 某个 tree 的宽度
 */
@property (nonatomic,assign)NSInteger distance;

@end
